package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.domain.DestinationTemplate;
import cn.wolfcode.luowowo.search.domain.StrategyTemplate;
import cn.wolfcode.luowowo.search.query.DestinationSearchQuery;
import cn.wolfcode.luowowo.search.query.StrategySearchQuery;
import cn.wolfcode.luowowo.search.vo.StatisVO;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface IStrategyTemplateService {
    void save(StrategyTemplate template);

    List<Map<String,Object>> queryThemeCommend();

    List<StatisVO> queryConditionChina();

    List<StatisVO> queryConditionAbroads();

    List<StatisVO> queryConditionThemes();

    Page query(StrategySearchQuery qo);

    List<StrategyTemplate> findByDestName(String keyword);

    List<DestinationTemplate> queryDestination(DestinationSearchQuery qo);
}
